package com.chuangshi.core.vote.member.controller.mobile.request;

import com.chuangshi.core.kit.Request;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * 会员移动端V1注册短信验证码发送的接收参数
 *
 * @author marcus
 * @date 2018-11-20
 */
@ApiModel(description = "会员移动端V1注册短信验证码发送的接收参数")
public class MemberMobileV1RegisterSmsCaptchaSendRequest extends Request {

	@ApiModelProperty(value = "手机号码", required = true, position = 2)
	@NotNull(message = "手机号码不能为空")
	@Length(max = 11, message = "手机号码长度超出限制")
	private String memberMobile;

	public String getMemberMobile() {
		return memberMobile;
	}

	public void setMemberMobile(String memberMobile) {
		this.memberMobile = memberMobile;
	}
}